package com.nlgc365.designpattern.Chapter04_Pattern.Behavior.P07_Visitor.Iteration02;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PPTResourceFile extends ResourceFile {
    private static final Logger logger = LoggerFactory.getLogger(PPTResourceFile.class);

    public PPTResourceFile(String path) {
        super(path);
    }

    /* @Override
     public void extract2Txt() {
         logger.info("PPT extract to Txt --> Path: {}", this.getPath());
     }*/
    @Override
    public void extract(Extractor extractor) {
        extractor.extract2Txt(this);
    }
}
